<%--
  User: wyz
  Date: 2024/7/22
  Time: 10:25
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>修改密码</title>
</head>
<body>
<%-- 显示修改错误信息 --%>
<c:if test="${not empty error}">
  <p style="color: red">${error}</p>
</c:if>
<div class="container">
  <div class="header">
    <h3>修改密码 <a href="/main.jsp">返回主页</a> </h3>
  </div>
  <div>
    <form action="/user/pwd.do" method="post">
      <div>
        <label for="password">新密码:</label>
        <input type="password" id="password" name="password" required>
      </div>
      <div>
        <button type="submit">修改</button>
      </div>
    </form>
  </div>
</div>

</body>
</html>
